Method: Vips::Image#<=

Defined in:
lib/vips8/image.rb

#<=(other) ⇒ Image

Relational less than or equal to with an image, constant or array.

Parameters:

  • other (Image, Real, Array<Real>)

    relational less than or equal to with this

Returns:

  • (Image)

    result of less than or equal to

[View source]

862
863
864
865
# File 'lib/vips8/image.rb', line 862

def <=(other)
    other.is_a?(Vips::Image) ? 
        relational(other, :lesseq) : relational_const(other, :lesseq)
end